<ion-content>
    <!--图片轮播-->
    <div class="sideContent">
        <!--左侧菜单切换按钮-->
        <ion-toolbar class="searchBar" color="tm" style="background:url(assets/one.png)">
            <ion-buttons slot="start">
                <ion-menu-button></ion-menu-button>
            </ion-buttons>
            <ion-buttons slot="end">
                <ion-button (click)="pushSearchPage()">
                    <ion-icon slot="icon-only" name="search"></ion-icon>
                </ion-button>
            </ion-buttons>
            <ion-searchbar [(ngModel)]="queryText" placeholder="请输入查询内容..." color="tm"></ion-searchbar>
        </ion-toolbar>
        <ion-slides pager="true" loop="true" autoplay="3000">
            <ion-slide *ngFor="let item of slideItems">
                <img src="{{item.cpicpath}}" (click)="toWebView(item.cskiplinks,item.ccontent)" />
            </ion-slide>
        </ion-slides>
    </div>
    <!--主体显示-->
    <ion-card>
        <ion-card-header>
            <ion-card-title class="cardTitle">动态信息</ion-card-title>
        </ion-card-header>
        <ion-card-content class="tjfwcontent">
            <ion-list style="font-size:12px">
                <ion-item *ngFor="let item of dtxxItems,let i = index" [ngClass]="i==1?'mid_item':''" (click)="goToDetails1(item.iid)">
                    <ion-label>{{item.ctitle}}</ion-label>
                   <!--<ion-label slot="end" style="max-width: 65px;font-size: 8px;">{{item.dmodify | date:"yyyy-MM-dd"}}</ion-label>--> 
                </ion-item>
                <ion-item *ngIf="dtxxItems.length == 0" text-center>
                    暂时无信息
                </ion-item>
            </ion-list>
        </ion-card-content>
        <ion-card-header>
            <ion-card-title class="cardTitle">推荐服务</ion-card-title>
        </ion-card-header>
        <ion-card-content class="tjfwcontent">
            <ion-grid>
                <ion-row>
                    <ion-col class="ripple" (click)="goTocompanydynamic(2)"><img src="assets/home/zdqy.png" />优惠政策</ion-col>
                    <ion-col class="ripple" (click)="goTocompanydynamic(1)"><img src="assets/home/qydt.png" />企业动态</ion-col>
                    <ion-col class="ripple" routerLink="/banklist"><img src="assets/home/jrgw.png" />金融顾问</ion-col>
                    <ion-col class="ripple" routerLink="/instantmessage"><img src="assets/home/jstx.png" />即时通讯</ion-col>
                </ion-row>
                <ion-row>
                    <ion-col class="ripple" (click)='visit()'><img src="assets/home/hqzf.png" />惠企走访</ion-col>
                    <ion-col class="ripple" (click)='toFinancialProduct()'><img src="assets/home/yhzc.png" />金融产品</ion-col>
                    <ion-col class="ripple" routerLink="/companyvideo"><img src="assets/home/qyly.png" />企业路演</ion-col>
                    <ion-col class="ripple" (click)='connect()'><img src="assets/home/yqdj.png" />银企对接</ion-col>
                </ion-row>
            </ion-grid>
        </ion-card-content>
        <ion-card-header>
            <ion-card-title class="cardTitle">重点企业</ion-card-title>
        </ion-card-header>
        <ion-card-content>
            <ion-grid>
                <ion-row>
                    <ion-col class="ripple"><img src="assets/home/ccqy.png" (click)="goToDetails(1)" />初创企业</ion-col>
                    <ion-col class="ripple"><img src="assets/home/czqy.png" (click)="goToDetails(2)" />成长企业</ion-col>
                    <ion-col class="ripple"><img src="assets/home/csqy.png" (click)="goToDetails(3)" />成熟企业</ion-col>
                </ion-row>
            </ion-grid>
        </ion-card-content>
    </ion-card>
</ion-content>